package com.shu.annotaion;

import com.shu.domain.constant.DataSourceConstant;

import java.lang.annotation.*;

/**
 * Created by shu on 2017/9/8.
 */
@Inherited
@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.METHOD })
public @interface DataSourceName {

    String value() default DataSourceConstant.MASTER_DATASOURCE;

}
